package com.dailyblue.java.spring.ioc.demo2;

public class DemoC {
    private DemoA da;

    public void setDa(DemoA da){
        this.da = da;
    }
    public void c(){
        System.out.println("我是DemoC类的c方法");
        da.a();
    }
}
